package org.opentcs.kcvehicle.communication.kc.udp.agv.param.function.af;

import org.opentcs.kcvehicle.communication.kc.common.byteutils.ByteUtils;

public class PathStateSequence {
  //src
  private byte[] src;
  //序列号,4个字节
  public Integer serialNumber;
  //序列号
  public Integer pathId;

  public PathStateSequence(byte[] src) {
    this.src = src;
    this.serialNumber = ByteUtils.bytesToInt(src, 0);
    this.pathId = ByteUtils.bytesToInt(src, 4);
  }
}
